<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Railway Operation Simulator: TTrack::TActiveLevelCrossing Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="railway-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Railway Operation Simulator
   &#160;<span id="projectnumber">v2.23.2</span>
   </div>
   <div id="projectbrief">A railway simulator for Windows</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_t_track_1_1_t_active_level_crossing.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_t_track_1_1_t_active_level_crossing-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">TTrack::TActiveLevelCrossing Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for TTrack::TActiveLevelCrossing:</div>
<div class="dyncontent">
<div class="center"><!-- SVG 0 -->
</div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa3d932c710e20c44b0fcf55c5c7e0ba8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_track_1_1_t_active_level_crossing.html#aa3d932c710e20c44b0fcf55c5c7e0ba8">TActiveLevelCrossing</a> ()</td></tr>
<tr class="memdesc:aa3d932c710e20c44b0fcf55c5c7e0ba8"><td class="mdescLeft">&#160;</td><td class="mdescRight">constructor, sets default values  <a href="class_t_track_1_1_t_active_level_crossing.html#aa3d932c710e20c44b0fcf55c5c7e0ba8">More...</a><br /></td></tr>
<tr class="separator:aa3d932c710e20c44b0fcf55c5c7e0ba8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a1acef8216e7e675f5780fd608a2b1bb1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_track_1_1_t_active_level_crossing.html#a1acef8216e7e675f5780fd608a2b1bb1">TypeOfRoute</a></td></tr>
<tr class="memdesc:a1acef8216e7e675f5780fd608a2b1bb1"><td class="mdescLeft">&#160;</td><td class="mdescRight">route type - 0 = nonsignals, 1 = preferred direction (can't have autosigs), 2 no route, 2 added at v2.6.0 for manual operation  <a href="class_t_track_1_1_t_active_level_crossing.html#a1acef8216e7e675f5780fd608a2b1bb1">More...</a><br /></td></tr>
<tr class="separator:a1acef8216e7e675f5780fd608a2b1bb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14f9f529d5e182fdae4d19e828192bef"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_track_1_1_t_active_level_crossing.html#a14f9f529d5e182fdae4d19e828192bef">ReducedTimePenalty</a></td></tr>
<tr class="memdesc:a14f9f529d5e182fdae4d19e828192bef"><td class="mdescLeft">&#160;</td><td class="mdescRight">marker that is set when a train is present on one of the elements of the LC - used to provide a 3 minute penalty allowance  <a href="class_t_track_1_1_t_active_level_crossing.html#a14f9f529d5e182fdae4d19e828192bef">More...</a><br /></td></tr>
<tr class="separator:a14f9f529d5e182fdae4d19e828192bef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6a3eed6fc68f1e65a59a3da36a3d4cb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_track.html#a4c2e42d85ed9151b4983f079f11d6d79">TBarrierState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_track_1_1_t_active_level_crossing.html#ae6a3eed6fc68f1e65a59a3da36a3d4cb">BarrierState</a></td></tr>
<tr class="memdesc:ae6a3eed6fc68f1e65a59a3da36a3d4cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">state of barriers - Raising, Lowering, Up, Down (an enum - see above)  <a href="class_t_track_1_1_t_active_level_crossing.html#ae6a3eed6fc68f1e65a59a3da36a3d4cb">More...</a><br /></td></tr>
<tr class="separator:ae6a3eed6fc68f1e65a59a3da36a3d4cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af45c2e8c0f427b23e655cdce00cebbb8"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_track_1_1_t_active_level_crossing.html#af45c2e8c0f427b23e655cdce00cebbb8">ChangeDuration</a></td></tr>
<tr class="memdesc:af45c2e8c0f427b23e655cdce00cebbb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">duration of the level crossing changing period  <a href="class_t_track_1_1_t_active_level_crossing.html#af45c2e8c0f427b23e655cdce00cebbb8">More...</a><br /></td></tr>
<tr class="separator:af45c2e8c0f427b23e655cdce00cebbb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaca7018cee472ba2b5df1589caa071f7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_track_1_1_t_active_level_crossing.html#aaca7018cee472ba2b5df1589caa071f7">BaseElementSpeedTag</a></td></tr>
<tr class="memdesc:aaca7018cee472ba2b5df1589caa071f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">SpeedTag value for the base element of a level crossing.  <a href="class_t_track_1_1_t_active_level_crossing.html#aaca7018cee472ba2b5df1589caa071f7">More...</a><br /></td></tr>
<tr class="separator:aaca7018cee472ba2b5df1589caa071f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad935a5012ee1d5bee8767e1c634dafbf"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_track_1_1_t_active_level_crossing.html#ad935a5012ee1d5bee8767e1c634dafbf">HLoc</a></td></tr>
<tr class="memdesc:ad935a5012ee1d5bee8767e1c634dafbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">HLoc value for found level crossing element.  <a href="class_t_track_1_1_t_active_level_crossing.html#ad935a5012ee1d5bee8767e1c634dafbf">More...</a><br /></td></tr>
<tr class="separator:ad935a5012ee1d5bee8767e1c634dafbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afabdf5593ed4d0f2f406aac52d7b4fb4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_track_1_1_t_active_level_crossing.html#afabdf5593ed4d0f2f406aac52d7b4fb4">VLoc</a></td></tr>
<tr class="memdesc:afabdf5593ed4d0f2f406aac52d7b4fb4"><td class="mdescLeft">&#160;</td><td class="mdescRight">VLoc value for found level crossing element.  <a href="class_t_track_1_1_t_active_level_crossing.html#afabdf5593ed4d0f2f406aac52d7b4fb4">More...</a><br /></td></tr>
<tr class="separator:afabdf5593ed4d0f2f406aac52d7b4fb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a428974b7cd394ee22cfbcae541cd262b"><td class="memItemLeft" align="right" valign="top">TDateTime&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_track_1_1_t_active_level_crossing.html#a428974b7cd394ee22cfbcae541cd262b">StartTime</a></td></tr>
<tr class="memdesc:a428974b7cd394ee22cfbcae541cd262b"><td class="mdescLeft">&#160;</td><td class="mdescRight">stores the starting time for level crossing changing  <a href="class_t_track_1_1_t_active_level_crossing.html#a428974b7cd394ee22cfbcae541cd262b">More...</a><br /></td></tr>
<tr class="separator:a428974b7cd394ee22cfbcae541cd262b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l00617">617</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aa3d932c710e20c44b0fcf55c5c7e0ba8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3d932c710e20c44b0fcf55c5c7e0ba8">&#9670;&nbsp;</a></span>TActiveLevelCrossing()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TTrack::TActiveLevelCrossing::TActiveLevelCrossing </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>constructor, sets default values </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8cpp_source.html#l01140">1140</a> of file <a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ae6a3eed6fc68f1e65a59a3da36a3d4cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae6a3eed6fc68f1e65a59a3da36a3d4cb">&#9670;&nbsp;</a></span>BarrierState</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_track.html#a4c2e42d85ed9151b4983f079f11d6d79">TBarrierState</a> TTrack::TActiveLevelCrossing::BarrierState</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>state of barriers - Raising, Lowering, Up, Down (an enum - see above) </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l00625">625</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<a id="aaca7018cee472ba2b5df1589caa071f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaca7018cee472ba2b5df1589caa071f7">&#9670;&nbsp;</a></span>BaseElementSpeedTag</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int TTrack::TActiveLevelCrossing::BaseElementSpeedTag</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SpeedTag value for the base element of a level crossing. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l00629">629</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<a id="af45c2e8c0f427b23e655cdce00cebbb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af45c2e8c0f427b23e655cdce00cebbb8">&#9670;&nbsp;</a></span>ChangeDuration</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float TTrack::TActiveLevelCrossing::ChangeDuration</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>duration of the level crossing changing period </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l00627">627</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<a id="ad935a5012ee1d5bee8767e1c634dafbf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad935a5012ee1d5bee8767e1c634dafbf">&#9670;&nbsp;</a></span>HLoc</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int TTrack::TActiveLevelCrossing::HLoc</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>HLoc value for found level crossing element. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l00631">631</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<a id="a14f9f529d5e182fdae4d19e828192bef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a14f9f529d5e182fdae4d19e828192bef">&#9670;&nbsp;</a></span>ReducedTimePenalty</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TTrack::TActiveLevelCrossing::ReducedTimePenalty</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>marker that is set when a train is present on one of the elements of the LC - used to provide a 3 minute penalty allowance </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l00623">623</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<a id="a428974b7cd394ee22cfbcae541cd262b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a428974b7cd394ee22cfbcae541cd262b">&#9670;&nbsp;</a></span>StartTime</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TDateTime TTrack::TActiveLevelCrossing::StartTime</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>stores the starting time for level crossing changing </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l00635">635</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<a id="a1acef8216e7e675f5780fd608a2b1bb1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1acef8216e7e675f5780fd608a2b1bb1">&#9670;&nbsp;</a></span>TypeOfRoute</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int TTrack::TActiveLevelCrossing::TypeOfRoute</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>route type - 0 = nonsignals, 1 = preferred direction (can't have autosigs), 2 no route, 2 added at v2.6.0 for manual operation </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l00621">621</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<a id="afabdf5593ed4d0f2f406aac52d7b4fb4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afabdf5593ed4d0f2f406aac52d7b4fb4">&#9670;&nbsp;</a></span>VLoc</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int TTrack::TActiveLevelCrossing::VLoc</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>VLoc value for found level crossing element. </p>

<p class="definition">Definition at line <a class="el" href="_track_unit_8h_source.html#l00633">633</a> of file <a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_track_unit_8h_source.html">TrackUnit.h</a></li>
<li><a class="el" href="_track_unit_8cpp_source.html">TrackUnit.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_t_track.html">TTrack</a></li><li class="navelem"><a class="el" href="class_t_track_1_1_t_active_level_crossing.html">TActiveLevelCrossing</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.18 </li>
  </ul>
</div>
</body>
</html>
